
// register   注册接口文件
import _fetch from './request'

//请求验证码api
function getPhoneCode(data) {
    return _fetch({
        url:'/sendsms',
        method:'post',
        data
    })
}


//注册api
function registerUser(data) {
    return _fetch({
        url:'/register',
        method:"post",
        data
    })
}
export {getPhoneCode,registerUser}